IK Copy Image Channel


IK Copy Image Channel Image Number, Channel, Source Channel

Description

This command allows you to copy one channel of an image to one or more channels of the same image. Only one channel should be specified as the source. Using more than one channel as the source channel may lead to unexpected results. If you don't use a combination of the channel constants provided in Extra/ImageKitConstants.dba the command can also give unexpected results.
This command does not work with render targets, but you can achieve the same effect using the effect commands of Image Kit and a pixel shader.

Parameters

Image NumberIntegerThe ID of the image.
ChannelDWORDThe channel(s) where the source channel will be copied to.
Source ChannelDWORDThe source used for the channel(s).


Index